
{[if $msg ne '']}
{[$msg]}<br/>
{[/if]}

<fieldset>
	<legend>修改个人资料</legend>
	<form method="post" action="{[$root]}{[$postLink]}{[$p1]}{[$p3]}">
		<table>
			<tr>
				<td align="right" width="20%">工号：</td>
				<td width="80%">{[$result.code]}</td>
			</tr>
			<tr>
				<td align="right">姓名：</td>
				<td>{[$result.name]}</td>
			</tr>
			<tr>
				<td align="right">部门：</td>
				<td>{[$result.dept]}</td>
			</tr>
			<tr>
				<td align="right">职位：</td>
				<td>{[$result.job]}</td>
			</tr>
			<tr>
				<td align="right">英文名：</td>
				<td><input type="text" name="engname" size="16"
					value="{[$result.engname]}"></td>
			</tr>
			<tr>
				<td align="right">手机：</td>
				<td><input type="text" name="mobile" size="16"
					value="{[$result.mobile]}"></td>
			</tr>
			<tr>
				<td align="right">短号：</td>
				<td><input type="text" name="short" size="8"
					value="{[$result.short]}"></td>
			</tr>
			<tr>
				<td align="right">分机：</td>
				<td>{[$result.exten]}</td>
			</tr>
			<tr>
				<td align="right">电子邮件：</td>
				<td>{[$result.email]}</td>
			</tr>
			<tr>
				<td></td>
				<td><input type="button" value="修 改" name="B1"
					onclick="post_user(this.form); return false;"> <input
					type="reset" value="复 位" name="B2"> <a
					href="javascript:void(0)"
					onclick="jswin('emp.php?do=Emp.signature', 'dl', '800x600')"
					target="_blank" style="color: blue">下载</a></td>
			</tr>
			{[if $result.status eq '1']}
			<tr>
				<td align="right">性别：</td>
				<td>{[$result.sex]}</td>
			</tr>
			<tr>
				<td align="right">出生年月：</td>
				<td>{[$result.birthday]}</td>
			</tr>
			<tr>
				<td align="right">身份证：</td>
				<td>{[$result.idcard]}</td>
			</tr>
			<tr>
				<td align="right">民族：</td>
				<td>{[$result.nationality]}</td>
			</tr>
			<tr>
				<td align="right">学历：</td>
				<td><select name='education'> {[html_options
						options=$education_option selected=$result.education]}
				</select></td>
			</tr>
			<tr>
				<td align="right">婚姻：</td>
				<td><select name='marriage'> {[html_options
						options=$marriage_option selected=$result.marriage]}
				</select></td>
			</tr>
			<tr>
				<td align="right">籍贯：</td>
				<td>{[$result.province]}{[$result.city]}</td>
			</tr>
			<tr>
				<td align="right">户籍：</td>
				<td>{[$result.address]}</td>
			</tr>
			<tr>
				<td align="right">入职日期：</td>
				<td>{[$result.join]}</td>
			</tr>
			<tr>
				<td align="right"></td>
				<td>注：部分信息由人事部提供，若需更改，请联系人事部。</td>
			</tr>
			{[/if]}
		</table>
	</form>
</fieldset>

<script type="text/javascript" src="js/emp/emp/user.js?r={[$smarty.now]}"></script>